package cn.com.bluemoon.daps.system.service;

import cn.com.bluemoon.daps.common.toolkit.BmAssetUtils;

/**
 * 定义业务线
 *
 * @author Jarod.Kong
 */
public interface BizLineDeletePredicate extends RowDeletePredicate<Integer> {
    @Override
    Result<Integer> predicate(Integer bizLineId);

    default void checkPredicate(Integer bizLineId) {
        BmAssetUtils.isTrue(bizLineId != null);
    }
}
